From: Keir Fraser Date: Fri, 7 May 2010 07:46:07 +0000 (+0100) Subject: ocaml: Fix C include paths in Makefile X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~12231 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22Dat/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22Dat?a=commitdiff_plain;h=abe6f866699a39bceee74af0a71617ab93cce34b;p=xen.git ocaml: Fix C include paths in Makefile Signed-off-by: Vincent Hanquez --- diff --git a/tools/ocaml/common.make b/tools/ocaml/common.make index 3b14dfbcc8..17bcac38b9 100644 --- a/tools/ocaml/common.make +++ b/tools/ocaml/common.make @@ -8,9 +8,8 @@ OCAMLYACC ?= ocamlyacc CFLAGS ?= -Wall -fPIC -O2 -XEN_ROOT ?= $(TOPLEVEL)/../xen-unstable.hg -XEN_DIST_ROOT ?= $(XEN_ROOT)/dist/install -CFLAGS += -I$(XEN_DIST_ROOT)/usr/include +CFLAGS += -I$(TOPLEVEL)/../include -I$(TOPLEVEL)/../libxc +CFLAGS += -I/usr/lib64/ocaml -I/usr/lib/ocaml OCAMLOPTFLAG_G := $(shell $(OCAMLOPT) -h 2>&1 | sed -n 's/^ *\(-g\) .*/\1/p') OCAMLOPTFLAGS = $(OCAMLOPTFLAG_G) -ccopt "$(LDFLAGS)" -dtypes $(OCAMLINCLUDE) -cc $(CC) -w F -warn-error F